package com.aiou.security.authentication.wechat;

/**
 * @author zyb
 */
public interface WeChatUserDetailsService {
    /**
     * 根据 code到微信获取 session key 和open id 并查询添加该用户
     *
     * @param code
     * @param appId
     * @param appSecret
     * @return
     */
    WeChatUserDetails loadUserByCode(String code, String appId, String appSecret);
}
